<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JDiskExplorer Documentation - FAQ</title>
<link href="styles/template.css" rel="stylesheet" type="text/css" />
<link href="styles/doc.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#faq .sectionTitle a {
	color: #FFFFFF;
	text-decoration: none;
}
#faq .sectionTitle a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
#faq a {
	color: #000000;
	text-decoration: none;
}
#faq a:hover {
	color: #000000;
	text-decoration: underline;
}

#faq ul {
	font-size: 10px;
	padding: 0px;
	list-style:inside ;
	margin: 1px;
}
#faq tr td {
	vertical-align: top;
}
-->
</style>
</head>
<body>
<div id="containerDiv">
  <div id="topDiv">
  <div id="navDiv">
  <div id="tabsDiv"><ul>
  <li><a href="http://www.jfileupload.com/index.html" title="Home"><span>Home</span></a></li>
  <li><a href="http://www.jfileupload.com/products/index.html" title="Products"><span>Products</span></a></li>
  <li><a href="http://www.jfileupload.com/support/index.html" title="Support"><span>Support</span></a></li>
  <li><a href="http://www.jfileupload.com/purchase/index.html" title="Purchase"><span>Purchase</span></a></li>
  <li><a href="http://www.jfileupload.com/about/index.html" title="About"><span>About</span></a></li>
  </ul></div>
  </div>
  </div>
  <div id="mainDiv">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="20%" valign="top"><div id="sidebar">
      <div id="sidebarSection">
        <ul>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="installation.html" title="Installation"><span>Installation</span></a></li>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="configuration.html" title="Configuration"><span>Configuration</span></a></li>
          <li><img src="styles/bullet.gif" width="7" height="13" border="0" /><a href="faq.html" title="FAQ"><span>FAQ</span></a></li>
          </ul>
      </div>
      <div id="sidebarNav"><br/><br/><a href="index.html" title="Back">&lt;&lt; Back</a></div>
      </div>    </td>
    <td width="80%" valign="top"><table width="98%" border="0" cellspacing="1" cellpadding="0" align="center">
      <tr>
        <td valign="top"><p align="center" class="mainTitle"><b>- FAQ -</b></p>
        <div id="faq">
            <table width="100%" border="0" cellspacing="2">
              <tr>
                <td width="50%" class="sectionTitle"><a href="#1">Basic setup (5)</a></td>
                <td width="50%" class="sectionTitle"><a href="#6">Advanced setup (5)</a></td>
              </tr>
              <tr>
                <td width="50%" class="faq"><ul>
                  <li><a href="#1">How to setup JDiskExplorer ?</a></li>
                  <li><a href="#2">JDiskExplorer fails to load (gray box) ?</a></li>
                  <li><a href="#3">Is there a way to disable &quot;..&quot; for a given folder ?</a></li>
                  <li><a href="#4">How to modify JDiskExplorer resources (messages, menu, errors ...)</a> ?</li>
                  <li><a href="#5">How to internationalize JDiskExplorer resources (messages,
                      errors , ...)</a> ?</li>
                </ul></td>
                <td width="50%"><ul><li><a href="#6">How to swap (right&lt;=&gt; left) local host and remote  host panels ?</a></li>
                  <li><a href="#7">How to move buttons on the top of the front-end  ?</a></li>
                  <li><a href="#8">How to disable delete item in pop-up menu ?</a></li>
                  <li><a href="#9">How to disable recursive delete feature for folders</a> ?</li>
                  <li><a href="#10">Is there any way to disable&quot;download&quot; button</a> ?</li>
                </ul></td>
              </tr>
              <tr>
                <td width="50%" class="sectionTitle"><a href="#11">FTP related (3)</a></td>
                <td width="50%" class="sectionTitle"><a href="#13">HTTP related (1)</a></td>
              </tr>
              <tr>
                <td width="50%"><ul>
                  <li><a href="#11">JDiskExplorer fails to delete empty folders with Microsoft FTP server ?</a></li>
                  <li><a href="#12">Can JDiskExplorer  display log of FTP commands   such as CONNECT, LIST, ... ?</a></li>
                  <li><a href="#17">JDiskExplorer returns &quot;Error Initializing Parser&quot; message on loading ?</a></li>
                </ul></td>
                <td width="50%"><ul>
                  <li><a href="#13">How to setup JDiskExplorer for HTTP transfers ?</a></li>
                  </ul></td>
              </tr>
              <tr>
                <td class="sectionTitle"><a href="#14">Security (2)</a></td>
                <td class="sectionTitle"><a href="#16">Others (1)</a></td>
              </tr>
              <tr>
                <td><ul>
                    <li><a href="#14">Does  JDiskExplorer support SSL ?</a></li>
                  <li><a href="#15">How to prompt end-user for FTP login/password ?</a></li>
                </ul></td>
                <td><ul>
                    <li><a href="#8">Can I use JDiskExplorer Pro with JFileUpload Enterprise ?</a></li>
                </ul></td>
              </tr>
            </table>
        </div>
            <table width="100%" border="0" cellspacing="1" cellpadding="1">
              <tr>
                <td><div align="center"><hr size="2" noshade="noshade" />
                </div></td>
              </tr>
              <tr>
                <td ><table width="100%" border="0" cellspacing="1" cellpadding="1">
                  <tr>
                    <td class="sectionTitle">Basic setup</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><ul>
                    <li><a name="1" id="1"></a><b>How to setup JDiskExplorer ?<br />
                      </b>JDiskExplorer  includes two sample files : <br />
                      For FTP : applet_ftp_explorer.html + applet_ftp_explorer.js<br />
                      for HTTP : applet_http_explorer.html + applet_http_explorer.js.<br />
                      Edit and modify parameters in the file matching to your need.</li>
                    <li><a name="2" id="2"></a><b>JDiskExplorer fails to load (gray box) ?</b><br />
                        You must install  JFileUpload first. Then you have to follow installation instructions above (copy  explorerui.jar under lib/ folder ...).</li>
                    <li><a name="3" id="3"></a><b>Is there a way to disable &quot;..&quot; for a given folder ?<br />
                      </b>Yes, use &quot;account&quot; extra parameter. For instance, if you have the following folders :<br />
&nbsp;&nbsp;/myhome/user1<br />
&nbsp;&nbsp;/myhome/user2<br />
&nbsp;&nbsp;... <br />
&nbsp;&nbsp;/myhome/userN<br />
And you want to limit folders browsing to /myhome/user1 then setup &quot;account&quot; parameter such as : <br />
&nbsp;&nbsp;&lt;PARAM NAME = &quot;param5&quot; VALUE=&quot;account&quot;&gt;<br />
&nbsp;&nbsp;&lt;PARAM NAME = &quot;value5&quot; VALUE=&quot;/myhome/user1&quot;&gt;</li>
                    <li><a name="4" id="4"></a><b>How to modify JDiskExplorer resources (messages, menu, errors ...) ?</b><br />
                      Most JDiskExplorer resources could be modified. Edit i18n_pane.properties and update resources as you need.</li>
                    <li><a name="5" id="5"></a><b>How to internationalize JDiskExplorer resources (messages,
                      errors , ...) ?<br />
                    </b>In the same way as you can internationalize JFileUpload resources through i18n_bar.properties and i18n_pane.properties.</li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Advanced setup</td>
                    </tr>
                  </table>
                  <ul><li><a name="6" id="6"></a><b>How to swap (right&lt;=&gt; left) local host and remote  host panels ?<br />
                      </b>Uncomment the following line in  i18n_pane.properties : <br />
&nbsp;&nbsp;&nbsp;&nbsp;#panel.local.position=left<br />
                    Update button.start and button.down too.</li>
                    <li><a name="7" id="7"></a><b>How to move buttons on the top of the front-end ?<br />
                      </b>Uncomment the following lines in i18n_pane.properties : <br />
&nbsp;&nbsp;&nbsp;&nbsp;#panel.layout=top<br />
&nbsp;&nbsp;&nbsp;&nbsp;#panel.flowlayout=true</li>
                    <li><a name="8" id="8"></a><b>How to disable delete item in pop-up menu ?<br />
                    </b>Comment all popup.delete properties  in i18n_pane.properties.</li>
                    <li><a name="9" id="9"></a><b>How to disable recursive delete feature for folders ?<br />
                    </b>Uncomment popup.delete.recursive=false line in i18n_pane.properties.</li>
                    <li><a name="10" id="10"></a><b>Is there any way to disable&quot;download&quot; button ?<br />
                      </b>Yes, you can disable it by commenting the following line in i18n_pane.properties: <br />
&nbsp;&nbsp;&nbsp;&nbsp;#button.down=&gt; Download&gt;</li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">FTP related</td>
                    </tr>
                  </table>
                  <ul>
                    <li><a name="11" id="11"></a><b>JDiskExplorer fails to delete empty folders with Microsoft FTP server ?</b><br />
Enable the following extra parameter to fix this issue:<br />
&nbsp;&nbsp;&lt;PARAM NAME = &quot;param6&quot; VALUE=&quot;deletefolder&quot;&gt;<br />
&nbsp;&nbsp;&lt;PARAM NAME = &quot;value6&quot; VALUE=&quot;relative&quot;&gt;</li>
                    <li><a name="12" id="12"></a><b>Can JDiskExplorer  display log of FTP commands   such as CONNECT, LIST, ... ?<br />
                                        </b>Yes, first you have to uncomment the following line in i18n_pane.properties: <br />
&nbsp;&nbsp;&nbsp;&nbsp;#panel.info.enabled=true<br />
 &nbsp;&nbsp;&nbsp;&nbsp;#panel.info.height=86<br />
Second, you
                      have to uncomment the following lines in i18n_bar.properties:<br />
&nbsp;&nbsp;&nbsp;&nbsp;#taskoutput.protocol=enabled<br />
&nbsp;&nbsp;&nbsp;&nbsp;#taskoutput.protocol.request=&gt; {0}<br />
&nbsp;&nbsp;&nbsp;&nbsp;#taskoutput.protocol.response=&lt; {0}<br />
Once enabled you should see:<br />
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="66%" align="left" valign="top"><img src="images/log.png" alt="FTP traces" width="398" height="165" /></td>
                        </tr>
                    </table>
                    </li>
                  <li><a name="17" id="17"></a><b>JDiskExplorer returns &quot;Error Initializing Parser&quot; message on loading ?</b><br />
                    Make sure that custom HTTP error pages are not enabled for the web folder where you've installed JDiskExplorer. JDiskExplorer tries to load an internal parser matching to your FTP system (returned by FTP SYST command). For instance, for UNIX Type: L8, it tries to load http://yourserver.com/path/UNIX%20Type:%20L8.class. Your server must return HTTP 404. With custom HTTP error pages, it returns HTTP 200 that generates the parser error. <br />
</li>
                  </ul>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
                                          <tr>
                                            <td class="sectionTitle">HTTP related</td>
                                          </tr>
                      </table>
                  <ul>
                    <li><a name="13" id="13"></a><b>How to setup JDiskExplorer for HTTP transfers ?<br />
                    </b>You need a server-side script implementing JDiskExplorer commands to list folders, make folder, rename and delete files. We provide three  samples: <br />
- One that works with <a href="http://www.jfileupload.com/products/tools/index.html" target="_blank">JSPUpload</a> script. You have to use explorer.jsp from server-side/jsp/ folder and add &lt;%@ include file=&quot;explorer.jsp&quot; %&gt; in process.jsp (see readme.txt from JDiskExplorer package).<br />
- Others that work with  PHP and CFM samples scripts available in <a href="http://www.jfileupload.com/products/tools/index.html" target="_blank">add-ons section</a>. You have to use explorer.php from server-side/php/ folder and add include &quot;explorer.php&quot;; in process.php (see readme.txt from JDiskExplorer package).<br />
                    </li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Security</td>
                    </tr>
                  </table>
                  <ul>
                    <li><a name="14" id="14"></a><b>Does  JDiskExplorer support SSL ?</b><br />
                      Yes, both HTTPS and FTPS. Just modify url parameter (with https://yourserver, or ftps://yourserver) to make it works.</li>
                    <li><a name="15" id="15"></a><b>How to prompt end-user for FTP login/password ?</b><br />
                      First, enable authentication parameter  such as :<br />
&lt;PARAM NAME=&quot;authentication&quot; VALUE=&quot;auto&quot;&gt; <br />
    Second, remove all username and password parameters. End-user will be prompted on first transfer action (upload, download, refresh, ...). <br />
    If you want to prompt end-user on applet loading (before first transfer) then you have fill in username parameter with any value (e.g. anonymous) and an empty password such as :<br />

  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="66%" valign="top">&lt;PARAM NAME=&quot;username&quot; VALUE=&quot;anonymous&quot;&gt;<br />&lt;PARAM NAME=&quot;password&quot; VALUE=&quot;&quot;&gt;<br />
        You have a sample image of the prompt on the right.<br />
        Three attempts are allowed. </td>
      <td width="34%" align="left"><img src="images/promt.gif" width="150" height="92" /></td>
    </tr>
  </table>
                    </li>
                    </ul>
                  <table width="100%" border="0" cellspacing="1" cellpadding="1">
                    <tr>
                      <td class="sectionTitle">Others</td>
                    </tr>
                  </table>
                  <ul>
                        <li><a name="16" id="16"></a><b>Can I use JDiskExplorer Pro with JFileUpload Enterprise ? </b><br />
No, JDiskExplorer Pro works with JFileUpload Pro only. JDiskExplorer Enterprise requires  JFileUpload Enterprise or Premium.<br />
                        <br />
                  </li>
                      </ul>                  </td>
              </tr>
            </table>            </td>
      </tr>
    </table></td>
  </tr>
  </table>
  </div>
  <div id="bottomDiv">
    <p><a href="http://java.sun.com" target="_blank">Java</a> and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. <br />
    All other company and/or product names are the property of their respective owners.</p>
  </div>
</div>
</body>
</html>
